package jman.teemwork03;

public class Q3 {
	//3.  再写一次计算器的后台程序。要求 输入：88，555，7，12.1，144，1.88 计算出：（88+555）-12.1+7/144-1.88的结果
	public double calc(double a,double b,double c,double d,double e,double f){
		double sum=(a+b)-d+c/e-f;
		return sum;
	}
	public static void main(String[] args) {
		Q3 result=new Q3();
		System.out.println(result.calc(88,555,7,12.1,144,1.88));
	}

}
